<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../../../Themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="../../../Themes/icon.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/demo.css">
	</head>

	<body style="padding: 0px;">
		<div class="easyui-layout" style="width:100%;height:500px;">
			<div id="div_search" data-options="region:'north'" style="height:80px;">
				
			</div>
			<div data-options="region:'center'">
				<div class="easyui-panel" title="商户列表" style="width: 100%;">
					<div style="overflow:hidden">
						<iframe id="ifrmList" src="BusinessInformationList.html" style="width: 100%;height: 350px;" frameborder="0" scrolling="no"></iframe>
					</div>
				</div>
			</div>
		</div>
		<script type="text/javascript" src="../../../JS/jquery.min.js"></script>
		<script type="text/javascript" src="../../../JS/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="../../../JS/common.js"></script>
		<script type="text/javascript" src="../../../JS/MarketShareFunction/SearchShareFunction.js"></script>
	</body>
	<script type="text/javascript">
		var searchType = SEARCH_ISVERIFY + SEARCH_TENENT_NAME + SEARCH_IDCARD;
		var content = buildSearchOptions(searchType,"");
		$("#div_search").append(content);
		$("#search_name").combobox({
			valueField: 'NAME',
			textField: 'NAME',
			panelHeight: 'auto',
			mode: 'remote',
			method: 'get',
			onChange: function(newValue, oldValue) {
				if(newValue != "" && newValue != undefined) {
					var url = RemoteLinkAddress + '/market/tenant/findbypinyin.do?TYPE=0&PINYINFIELDNAME=' + newValue.trim();
					$(this).combobox("reload", url);
				}
			},
		});
		function doSearch() {
			var searchCondition = "";
			searchCondition = processSearchCondition();
			_url = RemoteLinkAddress + '/market/tenant/list.do?TYPE=0&' + searchCondition;
			$("#ifrmList")[0].contentWindow.$('#dg').datagrid('options').url = _url;
			$("#ifrmList")[0].contentWindow.$('#dg').datagrid('reload');
		}
	</script>

</html>